Skip to content

mac: Backdrop always zooms with Nearest (no cubic blur) - #560

Merged
Maxaubert merged 1 commit into
mainfrom
mac-backdrop-sharp
Nov 8, 2026
Merged

Maxaubert merged 1 commit into
mainfrom
mac-backdrop-sharp

Conversation

@Maxaubert

Copy link
Copy Markdown
Owner

Problem

On Backdrop, renderScaling xBR was mapped to WindowServer's cubic filter. The Scaling row only shows on Render, so anyone who picked xBR there got a blurry Backdrop with no setting to fix it (owner report 2026-11-08).

Measured

1 px checker magnified by Backdrop, grabbed at 3840x2160 with dispcap (share of grey pixels):

filter 3x 4.37x
nearest 1.9% 1.7%
cubic 86.7% 71.8%
linear / lanczos / box / trilinear 87.4% 89.3%

Only nearest is sharp; nothing CA offers here sharpens.

Change

  • DrawZoom.placeBackdrop: always .nearest
  • scripts/backdrop_sharp.py (new): both renderScaling values must stay sharp
  • dispcap: DISPCAP_PIXELS=1 for a backing-resolution grab
  • docs, CLAUDE.md, VERSION 0.5.7

Tests

  • backdrop_sharp.py: PASS both (1.9% grey)
  • backdrop_truth.py: all checks up to the wheel section PASS; that section needs sudo vmouse (not available in this session)
  • swift run wind-checks: pass

🤖 Generated with Claude Code

https://claude.ai/code/session_01SkyGaRqAYDGgt6rzry3bwu

Backdrop mapped renderScaling xBR to WindowServer's cubic filter, and the
Scaling row is hidden on Backdrop, so picking xBR on Render left Backdrop
blurry with no way to change it. Every magnificationFilter but nearest
smooths there: a 1 px checker at 3x is 87% grey on cubic and linear
(lanczos and box read as linear), 2% on nearest.

- DrawZoom.placeBackdrop: always .nearest
- scripts/backdrop_sharp.py: checker grabbed at backing resolution, both
  renderScaling values must stay sharp
- dispcap: DISPCAP_PIXELS=1 grabs at the display's pixel size
- VERSION 0.5.7

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SkyGaRqAYDGgt6rzry3bwu
@Maxaubert
Maxaubert merged commit 1f99272 into main Nov 8, 2026
1 check passed
@Maxaubert
Maxaubert deleted the mac-backdrop-sharp branch November 8, 2026 03:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant